FROM node as build

WORKDIR /app

COPY . .

RUN  yarn install --production  && cp ./modify/* ./node_modules/@adobe/helix-md2docx/src/mdast2docx/handlers/

EXPOSE 3000
CMD [ "node", "src/api.js" ]
